Skip to content

Conversation

@lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Nov 19, 2025

As part of this, loosened up handling of exclusive commands such that downstream commands not marked as exclusive are automatically treated as such. This is to avoid breakage of anyone who is currently defining an override def run() = Task.Command{ super.run()() }, which would otherwise start failing since super.run has suddenly become exclusive. Only downstream commands are treated as such - non-command tasks are still an error - and I expect this is an uncommon enough scenario that it won't affect much

Also cleaned up the messiness in BspRunModule and tweaked bspRun to avoid the Task.Anon that would interfere with exclusivity

Fix #5208

@lihaoyi lihaoyi merged commit 487e481 into com-lihaoyi:main Nov 20, 2025
8 checks passed
@lefou lefou added this to the 1.1.0 milestone Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conside exclusive-mode by default for RunModule.run.

2 participants